<?php
/**
 * @package WordPress
 * @subpackage Starkers
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php 

$postTitleTag = get_post_meta($post->ID, 'title-tag', true);

if ( empty($postTitleTag) ) { ?>
<?php wp_title('&laquo;', true, 'right'); ?>
<?php bloginfo('name'); ?>
<?php } 
else {
echo $postTitleTag;
} ?>
</title>
<meta name="description" content="<?php echo get_post_meta($post->ID, 'meta-description', true); ?>" />
<meta name="keywords" content="<?php echo get_post_meta($post->ID, 'meta-keywords', true); ?>" />

<link href="<?php bloginfo('template_url'); ?>/style/img/favicon.ico" rel="shortcut icon" type="image/x-icon" /> 
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style/css/print.css" type="text/css" media="print" />

<!--[if IE]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style/css/ie.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style/css/ie7.css" type="text/css" media="screen" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style/css/ie8.css" type="text/css" media="screen" />
<![endif]-->
 
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

<?php wp_head(); ?>

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/chinese.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/accordionH.js"></script>

	
</head>
<body <?php body_class(); ?>>


<div id="header">
<div class="wrapper">
<p class="contact"><?php
$my_id = 522;
$post_id_7 = get_post($my_id); 
$content = $post_id_7->post_content;
echo $content
?></p>
	<ul id="signup"><li><?php get_search_form(); ?></li></ul>
	<?php do_action('icl_language_selector'); ?>
	<h1><a href="<?php echo get_option('home'); ?>/">
		<?php bloginfo('name'); ?>
		</a></h1>
	<!--<p id="login"><a href="http://www.guavatalk.com/userlogin.jsp" target="_blank">Login</a></p>-->
	
		
<?php wp_nav_menu( array( 'container' => 'ul', 'menu_id' => 'navigation', 'menu_class' => 'dropdown dropdown-horizontal', 'theme_location' => 'primary' ) ); ?>
	
	<!-- navigation -->
